﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
@using sipfe.model.dataAccess;
@model SIPDetSolicitud
@{
    Layout = "";
}
<table border="0" cellpadding="2" cellspacing="0">
    <tbody class="tituloCelesteB8">
        <tr>
            <td>Número de Trámite</td>
            <td style="width: 10px;" align="center">:</td>
            <td class="textNormal8">@ViewBag.solicitud</td>
        </tr>
    </tbody>
</table>
    
    <table border="0" style="width:80%;" cellpadding="2" cellspacing="0" >
    <tr>
        <td>
            <fieldset style="width:800px;" class="fieldset1">
                <legend class="legend2">ASIGNAR EL TR&Aacute;MITE AL PERSONAL DEL &Aacute;REA</legend>
                <table border="0" style="width:800px;" cellpadding="2" cellspacing="0" class="tablaInterna1">
                    <tbody class="tituloCelesteB8">							
                        <tr>
                            <td style="width:105px;">De</td>
                            <td>:</td>
                            <td class="textNormal8">
                                <table border="0" style="width:100%;" cellpadding="0" cellspacing="0">
                                    <tbody class="tituloCelesteB8">
                                    <tr>
                                        <td class="textNormal8">@Session["vCodUsuario"]&nbsp;[ <span id="divBandejaDerivar">@Session["vDependencia"]&nbsp;-&nbsp;@Session["nIdeDep"] </span>]</td>
                                        <td align="right">Acción</td>
                                        <td>:</td>
                                        <td>
                                            @Html.DropDownListFor(model => model.nIdeAccionAsig, (IEnumerable<SelectListItem>)ViewBag.Para,  new { @class = "select8" }) 
                                        </td>
                                        <td style="width:10px;">&nbsp;</td>
                                        <td align="right">Prioridad</td>
                                        <td>:</td>
                                        <td>                                            
                                            @Html.DropDownListFor(model => model.nIdePrioridadAsig, (IEnumerable<SelectListItem>)ViewBag.Prioridad,new { @class = "select8" }) 
                                        </td>
                                        <td style="width:10px;">&nbsp;</td>
                                        <td align="right"># de Folios</td>
                                        <td>:</td>
                                        <td>
                                             @Html.TextBoxFor(model => model.nFoliosAsig, new { style = "width:20px;", maxlength = 3, onkeypress = "return validarSoloNumeros(event);", ondblclick="javascript:cleanBox(this);" })                                             
                                        </td>
                                    </tr>
                                </tbody>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td style="width:105px;">Destinatario</td>
                            <td>:</td>
                            <td>                                
                                @Html.DropDownListFor(model => model.nFuncionarioAsigna, (IEnumerable<SelectListItem>)ViewBag.PersonalArea, "--Seleccione--", new { @class = "select8" }) 
                            </td>
                        </tr>
                        <tr>
                            <td>Doc. de Referencia</td>
                            <td>:</td>
                            <td>
                                <table border="0" cellpadding="0" cellspacing="0">
                                    <tr>
                                       <td>@Html.DropDownList("nIdeTipoDocEntraAsig", (IEnumerable<SelectListItem>)ViewBag.DocAcompa, new { @class = "select8" })</td>                                       
                                        <td>-</td>
                                        <td>
                                            @Html.TextBoxFor(model => model.vNumDocEntraAsig, new { style = "width:300px;", maxlength = 100, onblur="javascript:onBlurUpper(this);", onkeypress = "return validaAlfaNumTamanio(this,event,100);" })                                           
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td>Sumilla</td>
                            <td>:</td>
                            <td>                               
                                @Html.TextAreaFor(model => model.vSumillaAsig, new { style = "width:653px;", maxlength = 450, onblur="javascript:onBlurUpper(this);", onkeypress = "return validaAlfaNumTamanio(this,event,450);" })
                            </td>
                        </tr>                        
                        <tr><td colspan="3">&nbsp;</td></tr>
                    </tbody>
                </table>
            </fieldset>
        </td>
    </tr>
    <tr align="center">
        <td style="height: 40px;">
            <input type="button" value="Asignar"  onclick="javascript:asignarTramite(this.form,this.value,'5');" />
        </td>
    </tr>
</table>
     @Html.HiddenFor(model => model.nIdeUsuReg, new { Value = @Session["nIdeUsuario"] })
     @Html.HiddenFor(model => model.nIdeSol, new { Value = @ViewBag.nIdeSol })
     @Html.HiddenFor(model => model.nSeqPaso, new { Value = @ViewBag.nSeqPaso })
     @Html.HiddenFor(model => model.nSeqActor, new { Value = @ViewBag.nSeqActor})
     @Html.HiddenFor(model => model.nIdeDep, new { Value = @Session["nIdeDep"]})
     @Html.HiddenFor(model => model.nIdeFuncionario, new { Value = @Session["nIdeFuncionario"]})